Handle nul-character in copy/paste (Bug#7934).
authorJan D. <jan.h.d@swipnet.se>
Sat, 29 Jan 2011 11:30:11 +0000 (12:30 +0100)
committerJan D. <jan.h.d@swipnet.se>
Sat, 29 Jan 2011 11:30:11 +0000 (12:30 +0100)
commit9a8f10f408c861132c27e8b69779e5315039043b
tree0824f7f57a00be7464ef658f4e9ba37c1a8f0c0e
parenteb37e0957cad117105ee564790cc7598ea0f109a
Handle nul-character in copy/paste (Bug#7934).

* nsselect.m (ns_string_from_pasteboard): Get length of string
and use make_string instead of build_string.
(ns_string_to_pasteboard_internal): Use initWithBytesNoCopy
instead of stringWithUTF8String  (Bug#7934).
src/ChangeLog
src/nsselect.m